package com.liwq.service;


import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

/**
 * 
 * @ClassName: DefaultDemoService
 * @Description:对外暴露接口实现类
 *
 */
@Service//dubbo注解
@Component
public class DefaultServiceImpl implements DefaultApiService {


	@Override
	public String defaultMethod(String str) {
		return "第三种方式。hello:"+str;
	}

}